export default {
    path: "/mine",
    name: "mine",
    component: () => import("@/views/Mine"),
    children: [
        {
            path: "center",
            name: "center",
            component: () => import("@/views/Mine/center.vue"),
            meta: {
                requireAuth: true
            }
        },
        {
            path: "register",
            name: "register",
            component: () => import("@/components/Register")
        },
        {
            path: "login",
            name: "login",
            component: () => import("@/components/Login"),
        },
        {
            path: "/mine",
            redirect: "center"
        }
    ]
}